<?php

define('MYSQL_HOST', 'localhost');
define('MYSQL_USER', 'root');
define('MYSQL_PASS', '');
define('MYSQL_DB', 'WorkOrganizer');

define('THEME','default');
define('VIEW_PATH','View/');

include_once("Modules/Common/Mysql.inc.php");
include_once("Modules/Common/BaseObject.inc.php");
include_once("Modules/Common/Events.inc.php");
function __autoload($class_name) {  
     $path = str_replace('_', DIRECTORY_SEPARATOR, $class_name);  
     require_once $path.'.inc.php';  
 }
 Mysql::Init(MYSQL_HOST,MYSQL_USER,MYSQL_PASS,MYSQL_DB, true, true);
 session_start(); 
 ?>
